package com.heima.wemedia.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmSensitiveDto;
import com.heima.model.wemedia.pojos.WmSensitive;

public interface WmSensitiveService extends IService<WmSensitive> {

    /**
     * 敏感词名称模糊分页查询
     */
    ResponseResult list(WmSensitiveDto dto);
    /**
     * 新增敏感词
     */
    ResponseResult save(WmSensitiveDto dto);
    /**
     * 修改敏感词
     */
    ResponseResult update(WmSensitiveDto dto);

    /**
     * 删除敏感词
     */
    ResponseResult delete(Integer id);

}